﻿using System;
using System.IO;
using System.Net;
using System.Collections.Generic;
using System.Threading.Tasks;
using NFinal;

//此代码由NFinalCompiler生成。
//http://bbs.nfinal.com
namespace NFinalCoreServer.Views.Index
{
    /// <summary>
    /// 模板类
    /// </summary>
    [View("/NFinalCoreServer/Views/Index/Index.cshtml")]
    public class Index_cshtml : NFinal.View.RazorView<NFinalCoreServer.Controllers.IndexController_Model.Index>
    {
        /// <summary>
        /// 模板类初始化函数
        /// </summary>
        /// <param name="writer">写对象</param>
        /// <param name="Model">任意对象</param>
        public Index_cshtml(NFinal.IO.Writer writer, object Model) : base(writer, Model)
        {
            Layout = "/NFinalCoreServer/Views/Shared/_Layout.cshtml";
        }
        /// <summary>
        /// 模板类初始化函数
        /// </summary>
        /// <param name="writer">写对象</param>
        /// <param name="Model">实体数据</param>
        public Index_cshtml(NFinal.IO.Writer writer, NFinalCoreServer.Controllers.IndexController_Model.Index Model) : base(writer, Model)
        {
            Layout = "/NFinalCoreServer/Views/Shared/_Layout.cshtml";
        }
        /// <summary>
        /// 输出模板内容
        /// </summary>
        public override void Execute()
        {
            this.ExecuteAsync().Wait();
        }
        /// <summary>
        /// 输出模板内容(异步)
        /// </summary>
        public override async Task ExecuteAsync()
        {
            writer.Write("\r\n<div id=\"myCarousel\" class=\"carousel slide\" data-ride=\"carousel\" data-interval=\"6000\">\r\n    <ol class=\"carousel-indicators\">\r\n        <li data-target=\"#myCarousel\" data-slide-to=\"0\" class=\"active\"></li>\r\n        <li data-target=\"#myCarousel\" data-slide-to=\"1\"></li>\r\n        <li data-target=\"#myCarousel\" data-slide-to=\"2\"></li>\r\n        <li data-target=\"#myCarousel\" data-slide-to=\"3\"></li>\r\n    </ol>\r\n    <div class=\"carousel-inner\" role=\"listbox\">\r\n        <div class=\"item active\">\r\n            <img src=\"/Content/images/banner1.svg\" alt=\"ASP.NET\" class=\"img-responsive\" />\r\n            <div class=\"carousel-caption\" role=\"option\">\r\n                <p>\r\n                    Learn how to build ASP.NET apps that can run anywhere.\r\n                    <a class=\"btn btn-default\" href=\"https://go.microsoft.com/fwlink/?LinkID=525028&clcid=0x409\">\r\n                        Learn More\r\n                    </a>\r\n                </p>\r\n            </div>\r\n        </div>\r\n        <div class=\"item\">\r\n            <img src=\"/Content/images/banner2.svg\" alt=\"Visual Studio\" class=\"img-responsive\" />\r\n            <div class=\"carousel-caption\" role=\"option\">\r\n                <p>\r\n                    There are powerful new features in Visual Studio for building modern web apps.\r\n                    <a class=\"btn btn-default\" href=\"https://go.microsoft.com/fwlink/?LinkID=525030&clcid=0x409\">\r\n                        Learn More\r\n                    </a>\r\n                </p>\r\n            </div>\r\n        </div>\r\n        <div class=\"item\">\r\n            <img src=\"/Content/images/banner3.svg\" alt=\"Package Management\" class=\"img-responsive\" />\r\n            <div class=\"carousel-caption\" role=\"option\">\r\n                <p>\r\n                    Bring in libraries from NuGet, Bower, and npm, and automate tasks using Grunt or Gulp.\r\n                    <a class=\"btn btn-default\" href=\"https://go.microsoft.com/fwlink/?LinkID=525029&clcid=0x409\">\r\n                        Learn More\r\n                    </a>\r\n                </p>\r\n            </div>\r\n        </div>\r\n        <div class=\"item\">\r\n            <img src=\"/Content/images/banner4.svg\" alt=\"Microsoft Azure\" class=\"img-responsive\" />\r\n            <div class=\"carousel-caption\" role=\"option\">\r\n                <p>\r\n                    Learn how Microsoft\'s Azure cloud platform allows you to build, deploy, and scale web apps.\r\n                    <a class=\"btn btn-default\" href=\"https://go.microsoft.com/fwlink/?LinkID=525027&clcid=0x409\">\r\n                        Learn More\r\n                    </a>\r\n                </p>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <a class=\"left carousel-control\" href=\"#myCarousel\" role=\"button\" data-slide=\"prev\">\r\n        <span class=\"glyphicon glyphicon-chevron-left\" aria-hidden=\"true\"></span>\r\n        <span class=\"sr-only\">Previous</span>\r\n    </a>\r\n    <a class=\"right carousel-control\" href=\"#myCarousel\" role=\"button\" data-slide=\"next\">\r\n        <span class=\"glyphicon glyphicon-chevron-right\" aria-hidden=\"true\"></span>\r\n        <span class=\"sr-only\">Next</span>\r\n    </a>\r\n</div>\r\n\r\n<div class=\"row\">\r\n    <div class=\"col-md-3\">\r\n        <h2>Application uses</h2>\r\n        <ul>\r\n            <li>Sample pages using ASP.NET Core MVC</li>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkId=518004\">Bower</a> for managing client-side libraries</li>\r\n            <li>Theming using <a href=\"https://go.microsoft.com/fwlink/?LinkID=398939\">Bootstrap</a></li>\r\n        </ul>\r\n    </div>\r\n    <div class=\"col-md-3\">\r\n        <h2>How to</h2>\r\n        <ul>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkID=398600\">Add a Controller and View</a></li>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkId=699315\">Manage User Secrets using Secret Manager.</a></li>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkId=699316\">Use logging to log a message.</a></li>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkId=699317\">Add packages using NuGet.</a></li>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkId=699318\">Add client packages using Bower.</a></li>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkId=699319\">Target development, staging or production environment.</a></li>\r\n        </ul>\r\n    </div>\r\n    <div class=\"col-md-3\">\r\n        <h2>Overview</h2>\r\n        <ul>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkId=518008\">Conceptual overview of what is ASP.NET Core</a></li>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkId=699320\">Fundamentals of ASP.NET Core such as Startup and middleware.</a></li>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkId=398602\">Working with Data</a></li>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkId=398603\">Security</a></li>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkID=699321\">Client side development</a></li>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkID=699322\">Develop on different platforms</a></li>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkID=699323\">Read more on the documentation site</a></li>\r\n        </ul>\r\n    </div>\r\n    <div class=\"col-md-3\">\r\n        <h2>Run &amp; Deploy</h2>\r\n        <ul>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkID=517851\">Run your app</a></li>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkID=517853\">Run tools such as EF migrations and more</a></li>\r\n            <li><a href=\"https://go.microsoft.com/fwlink/?LinkID=398609\">Publish to Microsoft Azure Web Apps</a></li>\r\n        </ul>\r\n    </div>\r\n</div>\r\n<hr />\r\n<footer>\r\n    <p>&copy; 2017 - NFinal</p>\r\n</footer>\r\n");
        }
    }
}
